<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>管理员后台首页</title>
		<meta name="renderer" content="webkit">
  		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  		<!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> -->
		<link rel="stylesheet" type="text/css" href="<{STATIC_SERVER}>/layui/css/layui.css">
		<link rel="stylesheet" type="text/css" href="<{STATIC_SERVER}>/admin/css/style.css"/>
		<script src="<{STATIC_SERVER}>/admin/js/jquery-1.12.1.min.js"></script>
	</head>
	<body>
		<div class="xinsu-top">
			<div class="xinsu-top-title">
				<a href="javascript:;">后台管理系统</a>
			</div>
			<div class="xinsu-top-info">
				<div>管理员：<{$_SESSION["agent"]["username"]}></div>
				<div>消息：<a href="/<{$common_info.module}>/message/money"><span id="xinsu-message">0</span></a></div>
			</div>
			<div class="xinsu-top-operate">
				<ul>
					<li><a class="xinsu-icon-sort xinsu-icon-geduan" href="/<{$common_info.module}>/stock/gain">盈亏排序</a></li>
					<li><a class="xinsu-icon-renewal xinsu-icon-geduan" href="javascript:clear_system_cache()">更新缓存</a></li>
					<li><a class="xinsu-icon-exit" href="javascript:logout()">注销登录<{$runtime}>ms</a></li>
				</ul>
			</div>
			<div class="xinsu-clear"></div>
		</div>
		<div class="xinsu-left">
			<div class="xinsu-nav">
				<div class="xinsu-nav-time">
					<span id="xinsu-system-date"><{$common_info.week}></span>
					<span id="xinsu-system-time"><{$common_info.time}></span>
				</div>
				<ul class="layui-nav layui-nav-tree" lay-filter="xinsu-nav">
					
					<li class="layui-nav-item xinsu-nav-item-icon1 <{if $common_info.current == '1'}>layui-nav-itemed<{/if}>"><a href="/<{$common_info.module}>">系统首页</a></li>
					<li class="layui-nav-item xinsu-nav-item-icon2 <{if $common_info.current == '2' && $common_info.current2 != '4'}>layui-nav-itemed<{/if}>">
						<a href="javascript:;">用户管理</a>
						<dl class="layui-nav-child">
							<dd <{if $common_info.current2 == '1' && $common_info.current == '2'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/ratio">保证金率</a></dd>
							<dd <{if $common_info.current2 == '2' && $common_info.current == '2'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/user">会员管理</a></dd>
							<dd <{if $common_info.current2 == '3' && $common_info.current == '2'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/staff">员工管理</a></dd>
						</dl>
					</li>
					
					<!----- Menus only for agent------>
					<li class="layui-nav-item xinsu-nav-item-icon3 <{if $common_info.current == '3'}>layui-nav-itemed<{/if}>">
						<a href="javascript:;">报表统计</a>
						<dl class="layui-nav-child">
							<dd <{if $common_info.current2 == '1' && $common_info.current == '3'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/stock/bull">用户持仓</a></dd>
							<dd <{if $common_info.current2 == '2' && $common_info.current == '3'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/stock/sell">用户平仓</a></dd>
							<dd <{if $common_info.current2 == '3' && $common_info.current == '3'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/stock/trust">用户委托</a></dd>
							<dd <{if $common_info.current2 == '4' && $common_info.current == '3'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/stock/hold">持仓统计</a></dd>
							<dd <{if $common_info.current2 == '5' && $common_info.current == '3'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/stock/gain">盈亏排序</a></dd>
						</dl>
					</li>
					<li class="layui-nav-item xinsu-nav-item-icon4 <{if $common_info.current == '4'}>layui-nav-itemed<{/if}>">
						<a href="javascript:;">款项相关</a>
						<dl class="layui-nav-child">
							<dd <{if $common_info.current2 == '1' && $common_info.current == '4'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/userbill/charge">手动入款</a></dd>
							<dd <{if $common_info.current2 == '2' && $common_info.current == '4'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/userbill/index">资金明细</a></dd>
							<dd <{if $common_info.current2 == '3' && $common_info.current == '4'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/userbill/logs">用户账单</a></dd>
							<dd <{if $common_info.current2 == '4' && $common_info.current == '4'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/atm">提款管理</a></dd>
							<dd <{if $common_info.current2 == '5' && $common_info.current == '4'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/userbill/charge_log">充值管理</a></dd>
						</dl>
					</li>
					<li class="layui-nav-item xinsu-nav-item-icon5 <{if $common_info.current == '5' || ($common_info.current2 == '4' && $common_info.current == '2')}>layui-nav-itemed<{/if}>">
						<a href="javascript:;">其他功能</a>
						<dl class="layui-nav-child">
							<dd <{if $common_info.current2 == '1' && $common_info.current == '5'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/news/index">新闻公告</a></dd>
							<dd <{if $common_info.current2 == '2' && $common_info.current == '5'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/holiday">休市安排</a></dd>
							<dd <{if $common_info.current2 == '6' && $common_info.current == '5'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/message/mail">站内信</a></dd>
							<dd <{if $common_info.current2 == '7' && $common_info.current == '5'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/message/money">提款信</a></dd>
							<dd <{if $common_info.current2 == '8' && $common_info.current == '5'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/sms">短信管理</a></dd>
							<dd <{if $common_info.current2 == '4' && $common_info.current == '2'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/agent">修改资料</a></dd>
							<dd <{if $common_info.current2 == '11' && $common_info.current == '5'}>class="layui-this"<{/if}>><a href="/<{$common_info.module}>/news/rule">交易规则</a></dd>
							<dd><a href="javascript:logout();">注销登录</a></dd>
						</dl>
					</li>
					<!-------End agent Menus--------->
				</ul>
			</div>
		</div>